package Demo06;
import java.sql.SQLOutput;
import java.util.Scanner;
public class Demo06 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入");
        int num1 = scanner.nextInt();

        System.out.println("请输入");
        int num2 = scanner.nextInt();

        int sum = num1+num2;
        int sum1 = num1-num2;

        System.out.println("和=" + sum);
        System.out.println("差=" + sum1);
    }

    }